package com.song.server.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.song.server.dto.EmployeeParam;
import com.song.server.entity.Employee;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author inkolopolookni
 * @since 2021-10-19
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    IPage<Employee> getAllEmployeesByPage(Page<Employee> page, @Param("employeeParam") EmployeeParam employeeParam);
}
